package com.hy.erp.inventory.pojo;

import java.io.Serializable ;

import javax.persistence.Column ;
import javax.persistence.Entity ;
import javax.persistence.Id ;
import javax.persistence.Table ;

import org.hibernate.annotations.Index ;
import org.jboss.seam.annotations.Name ;

import com.hy.erp.inventory.dao.interfaces.IRewardsPunishmentStyleDao;
import com.hy.erp.inventory.pojo.interfaces.IMembereRelation;
import com.hy.erp.inventory.pojo.interfaces.IRewardsPunishmentStyle;
import com.hy.erp.inventory.vsoft.libra.enterprise.framework.lang.annotation.ImplementsBy;
import com.hy.erp.inventory.vsoft.libra.enterprise.framework.persistence.api.annotation.DaoA;
import com.hy.erp.inventory.vsoft.libra.enterprise.framework.persistence.entity.AbstractPersistentEntity;
import com.hy.mydesktop.shared.persistence.domain.gxt.MyBaseModel;

/**
 * 
 * <ul>
 * <li>开发作者：李冰</li>
 * <li>设计日期：2010-10-6；时间：下午03:03:26</li>
 * <li>类型名称：RewardsPunishmentStyle</li>
 * <li>设计目的：激励方式 </li>
 * </ul>
 * <ul>
 * <b>修订编号：</b>
 * <li>修订日期：</li>
 * <li>修订作者：</li>
 * <li>修订原因：</li>
 * <li>修订内容：</li>
 * </ul>
 */
/*@Entity
@Table(name="rewardsPunishmentStyle")
@Name("rewardsPunishmentStyle")
@DaoA(IRewardsPunishmentStyleDao.class)
*/
//public class RewardsPunishmentStyle extends AbstractPersistentEntity implements IRewardsPunishmentStyle
public class RewardsPunishmentStyle extends MyBaseModel //implements IPositonType
{

	/**
	 * <ul>
	 * <li>开发作者：李冰</li>
	 * <li>设计日期：2010-10-6；时间：下午03:04:37</li>
	 * <li>字段类型：long；字段名称：serialVersionUID</li>
	 * <li>设计目的：</li>
	 * </ul>
	 * <ul>
	 * <b>修订编号：</b>
	 * <li>修订日期：</li>
	 * <li>修订作者：</li>
	 * <li>修订原因：</li>
	 * <li>修订内容：</li>
	 * </ul>
	 */
	private static final long	serialVersionUID	=
														1676702347734302452L ;

	public RewardsPunishmentStyle ( )
	{
		super ( ) ;
	}
	
	@ Column ( name = "name" , length = 50)
	@ Index ( name = "nameIndex" )
	public String getName ( )
	{
		return this.get(IRewardsPunishmentStyle.NAME);
	}
	public void setName (
							String name )
	{
		super.set(IRewardsPunishmentStyle.NAME,name) ;
	}
	@ Column ( name = "description" , length = 50)
	@ Index ( name = "descriptionIndex" )
	public String getDescription ( )
	{
		return this.get(IRewardsPunishmentStyle.DESCRIPTION);
	}
	public void setDescription (
									String description )
	{
		super.set(IRewardsPunishmentStyle.DESCRIPTION,description) ;
	}

	
	
	
}
